package com.tarena.lbs.marketing.web.repository;
import com.tarena.lbs.base.protocol.pager.BasePageList;
import com.tarena.lbs.pojo.marketing.bo.UserReceiveCouponBO;
import com.tarena.lbs.pojo.marketing.param.UpdateParam;
import com.tarena.lbs.pojo.marketing.param.UserReceiveCouponParam;
import com.tarena.lbs.pojo.marketing.query.UserCouponCodeQuery;
import com.tarena.lbs.pojo.marketing.query.UserCouponQuery;
import java.util.List;

public interface UserReceiveCouponRepository {

    void insert(UserReceiveCouponParam param);

    void update(UserReceiveCouponParam param);

    void updateStatus(UpdateParam updateParam);

    BasePageList<UserReceiveCouponBO> userList(UserCouponQuery couponQuery);

    List<UserReceiveCouponBO> userCouponList(Integer userId,Integer couponId);

    UserReceiveCouponBO userCouponDetail(UserCouponCodeQuery param);

}
